Component({
    properties: {
        mode: {
            value: 1,
            type: [ String, Number ]
        },
        goodsList: {
            value: {},
            type: Object
        }
    },
    data: {},
    methods: {
        gotoGoodDetail: function(t) {
            wx.navigateTo({
                url: "/packageA/detail_v2/detail_v2?id=" + t.currentTarget.dataset.id + "&name=retailGood&md=" + this.data.mode
            });
        }
    }
});